package com.ljb.android.component.router

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.ljb.android.component.event.AppEvent
import org.greenrobot.eventbus.EventBus

@Route(path = AppRouter.Service.APP)
class AppRouterServiceImpl : IAppRouterService {

    override fun init(context: Context) {
        //初始化工作，服务注入时会调用，可忽略
    }


    override fun openOrCloseDrawerLeft() {
        EventBus.getDefault().post(AppEvent(AppEvent.EventType.TYPE_LEFT_DRAWER))
    }


}